package com.zz.inventory.feign;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.example.dto.CouponUsageDTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        value = "platform",             //远程调用模块的名字
        fallbackFactory = platformServiceFallbackFactory.class)

public interface platformService {
    @PostMapping("/coupons/records/jianCha")
     AjaxResult select(@RequestBody CouponUsageDTo couponUsageDTo);
}
